<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html">
    <head>
        <title>Register</title>
        <link rel="stylesheet" type="text/css" href="main.css"></link>
    </head>
    <body>
        <div>Nouveau compte</div>
    <f:view>
        <h:form id="create">
            <h:inputText id="login" value="#{register.login}" /><br/>
            <h:inputText id="password" value="#{register.password}"  /><br/>
            <h:commandButton action="#{register.registerUser()}"  value="Register" />
        </h:form>
    </f:view>

    </body>
</html>
